package com.lyw.GeoLocationClient.json;

import android.os.SystemClock;

public class Task {
    String title;
    String task;
    long start;
    long end;
    String owner;
    String admin;
    int id;

    public Task(String title, String task) {
        this.title = title;
        this.task = task;
        this.start = System.currentTimeMillis();
    }

    public Task(String title, String task, String owner,String admin) {
        this(title, task);
        this.owner = owner;
        this.admin = admin;
    }

    public boolean isDone() {
        return isDone;
    }

    private boolean isDone;

    public String getTitle() {
        return title;
    }

    public String getTask() {
        return task;
    }

    public long getStart() {
        return start;
    }

    public long getEnd() {
        return end;
    }

    public String getOwner() {
        return owner;
    }

    public String getAdmin() {
        return admin;
    }

    public void setIsDone(boolean isDone) {
        this.isDone = isDone;
    }
}
